from django.db import models
from djwheel.experimental.tags.models import create_tagmodels

Tag, AbstractTagableModel = create_tagmodels('sampletags', use_slug=True)

class TestModel1(AbstractTagableModel):
    some_text = models.CharField(max_length=200, blank=True)
    def __unicode__(self):
        return 'M-one %s' % self.some_text

class TestModel2(AbstractTagableModel):
    some_text = models.CharField(max_length=200, blank=True)
    def __unicode__(self):
        return 'M-two %s' % self.some_text
